import java.util.Scanner;

public class Test5 {

        public static void main(String[] args) {
            int i = 0;
            while (i < 10) {
                if (i == 5) {
                    break;
                }
                System.out.println(i);
                i++;
            }
            System.out.println("循环结束");
        }

}
